package com.springbootmybatis.demo.dao;
import com.springbootmybatis.demo.domain.TestPOJO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * User: keer-dkx
 * date: ${Date}
 * Time：${Time}
 */
@org.apache.ibatis.annotations.Mapper
public interface Mapper {
    @Select("select * from info where id=#{id}")
    TestPOJO findById(@Param("id") long id);
}
